#!usr/bin/env python
# -*- coding:utf-8 -*-
"""
@author: muchen
@file: HomePage.py
@time: 2024/12/26
"""

from selenium.webdriver.common.by import By
from autoTest_ecshop.base_page.base import BasePage


# 主页类继承基础类
class HomePage(BasePage):
    # menu-frame定位器
    menu_frame_loc = (By.CSS_SELECTOR, '[id="menu-frame"]')
    # main-frame定位器
    main_frame_loc = (By.CSS_SELECTOR, '[id="main-frame"]')


# 主页菜单栏继承基础类
class MenuFrame(BasePage):
    # 促销管理定位器
    # 促销管理-夺宝奇兵定位器
    duobaoqibing_loc = (By.LINK_TEXT, '夺宝奇兵')
